Disable advertise() with end()?


hi :)
i using arduino 101 campervan monitoring project. arduino has control lights, check batteries level, water tank level, tap water , fridge power supply.

the idea control every button, android app via ble. turn on , off ble main reason: power consumption.

here problem: when send this:
code: [select]
    ble.end();
    serial.println("[ble] bluetooth device disable");


the ble not seem disabled. can see android app ( use nrf connection).
is way stop advertisement of arduino?

thank in advance :)

hi :)
i using arduino 101 campervan monitoring project. arduino has control lights, check batteries level, water tank level, tap water , fridge power supply.

the idea control every button, android app via ble. turn on , off ble main reason: power consumption.

here problem: when send this:
code: [select]
    ble.end();
    serial.println("[ble] bluetooth device disable");


the ble not seem disabled. can see android app ( use nrf connection).
is way stop advertisement of arduino?

thank in advance :)

what mean "send"?
how sending that?



Arduino Forum > Products > Arduino 101 (Moderators: cmaglie, facchinm) > Disable advertise() with end()?


arduino

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???