Fixed write network settings command
This commit is contained in:
@@ -425,30 +425,30 @@ void modCommandsProcessPacket(unsigned char *data, unsigned int len) {
|
||||
ind = 0;
|
||||
modCommandsSendBuffer[ind++] = packet_id;
|
||||
|
||||
i=250;
|
||||
while (i>0){
|
||||
i=0;
|
||||
while (i<250){
|
||||
libBufferAppend_uint8(modCommandsSendBuffer,modCommandsToBeSendConfig->Domain_URL[i],&ind);
|
||||
i--;
|
||||
i++;
|
||||
}
|
||||
i=250;
|
||||
while (i>0){
|
||||
i=0;
|
||||
while (i<250){
|
||||
libBufferAppend_uint8(modCommandsSendBuffer,modCommandsToBeSendConfig->Domain_URL_Event[i],&ind);
|
||||
i--;
|
||||
i++;
|
||||
}
|
||||
i=50;
|
||||
while (i>0){
|
||||
i=0;
|
||||
while (i<50){
|
||||
libBufferAppend_uint8(modCommandsSendBuffer,modCommandsToBeSendConfig->GSM_APN[i],&ind);
|
||||
i--;
|
||||
i++;
|
||||
}
|
||||
i=50;
|
||||
while (i>0){
|
||||
i=0;
|
||||
while (i<50){
|
||||
libBufferAppend_uint8(modCommandsSendBuffer,modCommandsToBeSendConfig->GSM_USER[i],&ind);
|
||||
i--;
|
||||
i++;
|
||||
}
|
||||
i=50;
|
||||
while (i>0){
|
||||
i=0;
|
||||
while (i<50){
|
||||
libBufferAppend_uint8(modCommandsSendBuffer,modCommandsToBeSendConfig->GSM_PWD[i],&ind);
|
||||
i--;
|
||||
i++;
|
||||
}
|
||||
modCommandsSendPacket(modCommandsSendBuffer, ind);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user