File tree Expand file tree Collapse file tree 4 files changed +31
-3
lines changed Expand file tree Collapse file tree 4 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -851,9 +851,9 @@ INPUT = ../include/arpa/inet.h \
851
851
../include/driver/dht.h \
852
852
../include/driver/ds18b20.h \
853
853
../include/driver/onewire.h \
854
- ../include/gpslib.h \
854
+ ../include/gpslib.h \
855
855
../include/hw/adc.h \
856
- ../include/hw/bluetooth.h \
856
+ ../include/hw/bluetooth.h \
857
857
../include/hw/gpio.h \
858
858
../include/hw/i2c.h \
859
859
../include/hw/pwm.h \
@@ -870,6 +870,7 @@ INPUT = ../include/arpa/inet.h \
870
870
../include/proto/ftpc.h \
871
871
../include/proto/httpc.h \
872
872
../include/proto/modbus.h \
873
+ ../include/proto/ntpc.h \
873
874
../include/remotedbg.h \
874
875
../include/ril/ril.h \
875
876
../include/ril/ril_alarm.h \
@@ -888,7 +889,7 @@ INPUT = ../include/arpa/inet.h \
888
889
../include/ril/ril_telephony.h \
889
890
../include/ril/ril_util.h \
890
891
../include/siwi/sockets.h \
891
- ../include/spifs.h \
892
+ ../include/spifs.h \
892
893
../include/sys/dirent.h \
893
894
../include/sys/ioctl.h \
894
895
../include/sys/socket.h \
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ Protocols
6
6
7
7
HTTP Client <httpc >
8
8
FTP Client <ftpc >
9
+ NTP Client <ntpc >
9
10
Modbus Slave <modbus >
Original file line number Diff line number Diff line change
1
+ NTP Client
2
+ ==========
3
+
4
+ Library provide NTP client service which can be enabled during
5
+ system initialization. Once enabled service will automatically
6
+ take care of setting system time when device is ready and GPRS
7
+ service is active. The NTP sync interval is 60 minutes.
8
+
9
+ API Reference
10
+ -------------
11
+
12
+ .. include :: /inc/ntpc.inc
Original file line number Diff line number Diff line change
1
+ /*
2
+ * ntpc.h
3
+ *
4
+ */
5
+ #ifndef INC_PROTO_NTPC_H
6
+ #define INC_PROTO_NTPC_H
7
+
8
+ /**
9
+ * Initialize NTP client service
10
+ * @return 0 on success, negative value on failure
11
+ */
12
+ int ntpclient_init (void );
13
+
14
+ #endif /* INC_PROTO_NTPC_H */
You can’t perform that action at this time.
0 commit comments