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

Proximity Monitor

Hi there,

Im wondering if its possible to implement a proximity monitor with the new s120. Having one nrf51822 acting as a central and several (up to 8 I guess) nrf51822 only advertising.

With the s120 scanning is possible to get the RSSI? and also distinguish between different MACs? or how do you think is better way to do that?

Thanks!!;) ;)

Parents
  • To explain a little bit more my question. I am doing a Proximity monitor. I have one central(nRF5182-s120) that act as the monitor, and several peripherals (nRF51822-s110) that are only advertising. In the advertising package of the peripherals I also include the battery level with this:

    advdata.name_type = BLE_ADVDATA_FULL_NAME; advdata.include_appearance = false; advdata.flags.size = sizeof(flags); advdata.flags.p_data = &flags; [b]advdata.service_data_count = 1; advdata.p_service_data_array = service_data;[/b]

    So in the central side I want to read this value without connection. How can I do that?

    Thank you!

  • This is what I explained above. I don't have any example code for this, but by looking at the struct definition, it shouldn't be very problematic to get the raw advertising data. You'll then have to parse the data yourself, from the format as defined in spec. See Volume 3, Part C, chapter 11.

Reply Children
No Data
Related