
SE59XX-SDK
Software development Kit
User Manual
V1.2
Arguments
: nothing (void)
Function
: resets 3G/4G module
Returns
: nothing (void)
Example code
:
218 {
219 int fno;
220 int value;
221 fno = open("/dev/atop_3g_reset", O_WRONLY);
222 if (fno > 0)
223 {
224 value = 0;
225 write(fno, &value, 1);
226 sleep(1);
227 value = 1;
228 write(fno, &value, 1);
229 }
230 else
231 printf("error (%d)\n", fno);
232 close(fno);
233 //printf("reset 3g module\n");
234 return;
235 }
7.3.2
void AtopSDKSet4GApn (char * apn)
API
: AtopSDKSet4GApn
Arguments
: apn (char) – string of APN (access point name)
Function
: writes APN string to Module ini file
Returns
: nothing (void)
Example code
:
145 {
146 set_apn_info((uint8_t *)apn);
147 }
7.3.3
void AtopSDKSet4GConnect (void)
API
: AtopSDKSet4GApn
Arguments
: nothing (void)
Function
: triggers a connection
Returns
: nothing (void)
Example code
:
190 {
191 threeg_connect();
192 }
7.3.4
void AtopSDKSet4GDialOnBoot (int value)
API
: AtopSDKSet4GDialOnBoot
Arguments
: value (integer)
Function
: enables or disables 3G/4G cellular dial-on-boot function
Returns
: nothing (void)
Example code
:
129 {
130 set_dial_when_bootup(value);
131 }
Summary of Contents for SE59XX-SDK
Page 11: ...SE59XX SDK Software development Kit User Manual V1 2...
Page 13: ...SE59XX SDK Software development Kit User Manual V1 2 libatop so 1 0 0 ATOP library binary...
Page 17: ...SE59XX SDK Software development Kit User Manual V1 2 Figure 2 5 SE5904DB o ot loadermenu...
Page 33: ...SE59XX SDK Software development Kit User Manual V1 2...
Page 35: ...SE59XX SDK Software development Kit User Manual V1 2 SE5901B SE5908 16...
Page 36: ...SE59XX SDK Software development Kit User Manual V1 2 SE5908A 16A...
Page 37: ...SE59XX SDK Software development Kit User Manual V1 2...
Page 52: ...SE59XX SDK Software development Kit User Manual V1 2...