Part Number: LAUNCHXL-CC2650
Hello ,
I'm currently trying to save some data (string) using osal_write() and then read the same value and show the read value via putty (UART) and I have a problem using these function and I'm not sure what I'm missing here
do I need to use I call function in my function in order to use these function ?
how can i check if I mange to read and write successfully?
how can I pass the read value to putty through UART
I use write_uart () to show and it works fine if I use it before osal_snv_XXXX()
but if i use it after it dosen't work at all
ICall_registerApp(&testEntity, &testsem);
unit8 x[20] ="000000000000000000000";
status = osal_snv_write(0x80, 20, x );
unit8 d[20]= "Baaaaaa\r\n";
unit8 c[20];
memset (c, '\0', sizeof(c));
strcpy (c,d);
status = osal_snv_write(0x80, 20, c );
status = osal_snv_read( 0x80, 20, c);
UART_write(uart, c, sizeof(c));
I'm using ble_sdk_2_02_02_25
thank you so much for any help
Best regards
Bassel