Now sending on all frequencies correctly, major refactor, fixed payload to get valid CRC
int main(void)
{
printf("\r\ndemo app\n");
- char name[] = "USERLAND";
- char data[] = "aaaa";
- char tx[] = "1";
+ char name[] = "AAAAAAAAAAAAAAAAAAAA";
+ char data[] = "42";
+ //char tx[] = "1";
printf("return for ble_adv_set_power %d\r\n", ble_adv_set_txpower(0));
printf("return for ble_adv_set_interval %d\r\n", ble_adv_set_interval(0));
ble_adv_data(BLE_HS_ADV_TYPE_COMP_NAME, sizeof(name)-1, name);
ble_adv_data(BLE_HS_ADV_TYPE_MFG_DATA, sizeof(data)-1, data);
- ble_adv_data(BLE_HS_ADV_TYPE_TX_PWR_LVL, 1, tx);
+//ble_adv_data(BLE_HS_ADV_TYPE_TX_PWR_LVL, 1, tx);
for(;;){
- printf("return from start_ble_advertisement %d\r\n", ble_adv_start(name, data));
+ printf("return from start_ble_advertisement %d\r\n", ble_adv_start(name, NULL));
delay_ms(50000);
printf("return from stop_ble_advertisement %d\r\n", ble_adv_stop());
delay_ms(5000);
