This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can i send sensor data via beacon?

Hi, I am working nrf52832.

this is a example for sdk nordic and i want to know why when i include a byte (value 0x00) in the m_beacon_info, this data is not reflect on nordic ble app 

#define APP_ADV_DATA_LENGTH             0x1F                             /**< Length of manufacturer specific data in the advertisement

#define APP_BEACON_INFO_LENGTH      0x17                            /**< max data via beacon (23 data)

#define value                                                 0x00                            /**< data i want to send 

I don't know if is much important the length of manufacturer specific data


static uint8_t m_beacon_info[APP_BEACON_INFO_LENGTH] =                    /**< Information advertised by the Beacon. */
{
    APP_DEVICE_TYPE,     // Manufacturer specific information. Specifies the device type in this
                         // implementation.
    APP_ADV_DATA_LENGTH, // Manufacturer specific information. Specifies the length of the
                         // manufacturer specific data in this implementation.
    APP_BEACON_UUID,     // 128 bit UUID value.
    APP_MAJOR_VALUE,     // Major arbitrary value that can be used to distinguish between Beacons.
    APP_MINOR_VALUE,     // Minor arbitrary value that can be used to distinguish between Beacons.
    APP_MEASURED_RSSI ,   // Manufacturer specific information. The Beacon's measured TX power in
                                                // this implementation.
    value                    
};

Also, is necesary that send APP_DEVICE_TYPE, APP_ADV_DATA_LENGTH... APP_MEASURED_RSSI or i can eliminate of the package and add other sensor data information?

Parents Reply Children
No Data
Related