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

which program to choose to advertise data over BLE ?

Hello Everyone,

I have done I2C communication with Grid Eye sensor (AMG 8832) using twi_master_with_twis_slave (nRF5_SDK_12.3.0_d7731ad) example program. Now i want to transmit the Temperature data over BLE . I am not sure which ble_peripheral example to use to transmit the data ?

Thanks in advance.

Parents Reply
  • I used sd_ble_gap_adv_data_set, but it returns error 7 which represent Invalid_PARAMS.

    When we initAdv, it calls sd_ble_gap_adv_data_set, but the parameter p_data is an p_encoded_advdata.

    So using directly sd_ble_gap_adv_data_set without encoding data returns Invalid_DATA, but if I put p_encoded_advdata as parameters inside, it returns Invalid_PARAMS.

    What kind of structure of parameters ?

Children
No Data
Related