BLE TO BLE

Hello,

we want to communicate the BLE to BLE without connection how to communicate?

One BLE is continious on scaning mode and another one is advertising mode on event 

so any example code aviliable for this ?

Parents Reply Children
  • Hello,

    As per my understanding one BLE is set in broadcasting mode and another one is observer(Central) mode.

    So What exactly I can broadcast ? (I have 19 byte Frame ) and How to recieve data on another BLE connection less (scan mode ) But what exactly scan method in observer mode. Please suggest me.

    Like this advertise the data

    manu_fact_data[0] = 0x01; //Length
    manu_fact_data[1] = 0xFF; //AD Type
    manu_fact_data[2] = 0x61; //Company Identifier
    manu_fact_data[3] = 0x35;
    manu_fact_data[4] = 0xAA; // Product ID
    manu_fact_data[5] =
    manu_fact_data[6] =
    manu_fact_data[7] =
    manu_fact_data[8] =
    manu_fact_data[9] =
    manu_fact_data[10] =
    manu_fact_data[11] =
    manu_fact_data[12] =
    manu_fact_data[13] =
    manu_fact_data[14] =
    manu_fact_data[15] =
    manu_fact_data[16] =
    manu_fact_data[17] = 0x00;
    manu_fact_data[18] = 0x00;
    manu_fact_data[19] = 0x00;

    advertising_init();

    Regards

    Yash Shah 

Related