Home/Support/Support Forum/How do I access Real-Time clock on the Xbee3 NB-IoT module ?

How do I access Real-Time clock on the Xbee3 NB-IoT module ?

0 votes
According to this> https://www.digi.com/resources/documentation/digidocs/90002219/default.htm#reference/r_features.htm%3FTocPath%3D_____2

Xbee3 cellular modules have a RTC. But I could not find any way to access it.

time.time() needs to connect to the network. But I need to start a timer before the module gets connected to the network. How do I do that?
asked Aug 13, 2019 in XBee3 Cellular by rajib New to the Community (7 points)

Please log in or register to answer this question.

1 Answer

0 votes
You can use the time.ticks_ms() or time.ticks_us() to get the XBee's time since boot in milliseconds or microseconds respectively.
Other supported functions in the time module are described in the XBee MicroPython programming guide here:

answered Aug 14, 2019 by cevans New to the Community (4 points)