File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,27 @@ unsigned char *network_getlocalip(void);
134
134
*/
135
135
const char * network_getcurrapn (void );
136
136
137
+ /**
138
+ * Setup Network status LED. Attach GPIO line managed by network
139
+ * thread for status LED.
140
+ *
141
+ * IO Drive Logic: Positive (1 - High, 0 - Low)
142
+ *
143
+ * LED Timings in milliseconds (On Time/Off Time):
144
+ * -----------------------------------------------
145
+ * No Network/No Sim: LED Off
146
+ * Searching Network: 50/500
147
+ * GSM/GPRS Registered: 50/1000
148
+ * Socket Connecting: 500/500
149
+ * Network Idle: 50/2000
150
+ * Data Sending: 100/100
151
+ * Unknow error: 50/50
152
+ *
153
+ * @param gpionum [in] GPIO Number to use
154
+ * @return 0 on success, negative value on error
155
+ */
156
+ int network_setup_statusled (int gpionum );
157
+
137
158
#ifdef __cplusplus
138
159
}
139
160
#endif
You can’t perform that action at this time.
0 commit comments