Hi,
I'm trying to construct a BLE advertisement whose header satisfies the following requirements:
I am configuring my BLE advertisement as such, and I believe this is correct:
uint8_t manufDataBuff[]={0xFA, 0xFF, 0x0D, 0x77, 0x02, 0x10, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x30, 0x00, 0x00, 0x00}; struct bt_data dt_bt_conn_ad[] = { { .type = 0x16, // Service Data .data_len = sizeof(manufDataBuff), // 30 bytes .data = manufDataBuff, } }; struct bt_le_adv_param param = *(BT_LE_ADV_NCONN); param.interval_min = 1000; param.interval_max = 1000; // setting BT_LE_ADV_CONN_NAME instead of BT_LE_ADV_CONN automatically sets a scan response containing the device name int err = bt_le_adv_start(¶m, dt_bt_conn_ad, ARRAY_SIZE(dt_bt_conn_ad), NULL, 0);