AT Commands to read/write Network ID in Modem

Please could you provide an example of raw value in bytes of how to read or write the Network ID for the Wireless Ethernet Modem, model PR55-17B. Currently we have a Modem set with non-default Network ID and seems losing it after power cycle, and our driver cannot read the sensors data any more.

Thanks

It will loose the network id if you do not send the write command
7E 00 06 09 5B 49 44 7F FF 90 – Set network id

7E 00 04 09 5C 57 52 F1 – WR the command

7E 00 04 09 5D 41 43 15 – Queue command

This will store commands in the flash

Ok, got it.
Is this command setting 7FFF as network ID:
7E 00 06 09 5B 49 44 7F FF 90

Is the last byte a check-sum involved on the command itself?

Thanks

Yes this command is for 7FFF
Checksum was included

Please how is the check sum calculated? Is it the same procedure used for Digimesh API? Taken all sum of bytes, and return 255 - lowest byte.

We are trying to set the Network ID as 6FFF for this Modem. I would like to do general procedure to setup the Network ID.

For the setting commands, do we receive some Ack from the Modem?

Please do you have the command also to read Network ID?
Thanks

6FFF –
7E 00 06 09 5E 49 44 6F FF 9D

Read network ID
7E 00 04 08 64 49 44 06

I got an error for the WR command and Queue command.

The read and write Network ID command are working fine.
Thanks

can you share the error ?

Sorry, my bad, was a mistake in the command, I forgot to put \x in one of the bytes. It is working fine now. After reboot, it kept the Network ID, which is very good! Appreciate it.
Thanks a lot!
We can change any time the Network ID, and if it is different it will send WR and queue command.