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

Scan Data by X32_BLE

Dear ,

I have NRF52 board and X32_ble PIR sensor. sensor data send and I can easily access on android app but I have used UART program for acess data of BLE then I couldnt acess this. how can access data.

Thanks

Ansh

Parents Reply
  • Hi,

    I used ble_uart_c in central. Raw data not got and even MAC adress also not got. I have used following code in function of ble_evt_handler with new case (BLE_GAP_EVT_ADV_REPORT).

     for(uint8_t count =1;count<64;count++)
            {
                NRF_LOG_INFO("\r%02x",p_adv_report->data.p_data [count]);
             }

    By above code some data match.

    example:

    1. By App, Raw Data of connected BLE device:

    0x0201041AFF000602157461696C6F726564736F6C7574696F6E01020304C3110723D113EF5F782315DEEF1212CDAB0000

    2. By above code, run on NRF52 DK boad, Raw Data of connected BLE device:

    0x0201041AFF000602157461696C6F726564736F6C7574696F6E01020304C3F3002C4100201F0000000000000000000000000000000000000000000000000000000

          How to access correct RAW data and MAC Adress.

    Thanks

    Ansh

Children
Related