Updated ref
Dependencies: FXOS8700Q-driver MODSERIAL
Fork of AAT_LWM2M_K64F by
Diff: main.cpp
- Revision:
- 61:cbc1630d6ac1
- Parent:
- 53:ff25489c63af
- Child:
- 62:8dc6ee02d19b
--- a/main.cpp Mon Jan 23 07:43:02 2017 +0000 +++ b/main.cpp Mon Jan 23 10:07:24 2017 +0000 @@ -159,7 +159,7 @@ #endif // Send update of endpoint resource values to connector every # seconds periodically - timer.attach(&trigger_update, 0.5); + timer.attach(&trigger_update, 2.5); // Create endpoint interface to manage register and unregister mbed_client.create_interface(MBED_SERVER_ADDRESS, network_interface); @@ -189,7 +189,7 @@ updates.wait(5000); while (true) { - updates.wait(2000); + updates.wait(500); if(registered) { if(!clicked && !update_trigger) { mbed_client.test_update_register();