Please enable JavaScript.
Coggle requires JavaScript to display documents.
publish onem2m, pub_onem2m.cpp, pub_onem2m .h - Coggle Diagram
publish onem2m
pub_onem2m.cpp
if pub hist
show no records
else
replace the history records with latest
if no buffer value
print end x
else
delete 1 from buf and latest buff count
defines time intervals of onem2m,thingspeak
defines buff count
show status of Wi-Fi
if it is https print connect failed onem2m
else publish onem2m buf count
if connection succes to onem2m
pub count increase
else retry to connect
execute the function
get the sensor according to the function
get time stamp from time and node id from constants
checking the onem2m info
if not print invalid node id
send data to om2m
closing connection
prepare for http request
pub_onem2m .h
define public buffer data