This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE communication function

hi, im using ble_app_uart and im trying to do a simple communication and data transfer over bluetooth with my iOS.i want to send from the Bluefruit app a byte (0x55 for example) , reiceve it with the nRF , toggle a pin , and transmit a byte (0xAA for example). im using to transmit ble_nus_string_send, but i cant find the function that receives the data (so i can breakpoint and se the value).

Parents Reply
  • Martin hi,

    im using IAR studio. i found the function to transmit - ble_nus_string_send(&m_nus, mydata, dataLength).

    i also found the function that receives (app_uart_get(&data_array[index]). i can see the data in p_data but cant find a way to extract it and use the data as a condition for TRUE/FALSE testing. perhaps it is because of the way a BLE message is built. is there a function that searches value within a BLE message ?

Children
Related