Hi. I played around with the MQTT example on nrf51822 module.
I get it connected to an openwrt device and can connect/publish to mosquitto on button press.
In next step I tryed to connect/publish to mosquitto automaticaly after IPv6 comes up.
But I dont know how to get this to work.
I tryed to call
button_event_handler(BSP_BUTTON_0,APP_BUTTON_PUSH);
from within
case LEDS_IPV6_IF_UP:
in
static void blink_timeout_handler(void * p_context)
But this does not work.
I there another way to solve this?
Bugs