Author Topic: Change the configuration of the device.  (Read 1059 times)

engkfke

  • Newbie
  • *
  • Posts: 14
    • View Profile
Change the configuration of the device.
« on: April 12, 2011, 09:38:53 am »
Dear ,

I want to change some configuration Like modulation (AT+MS) after connecting the nrcomm o the device modem.

for example.


//in Com3:
i can change th modulation using (at+MS=v90,0,0,0,0).

//connect to Com3 using nrcomm .
nrcomm->DeviceIndex=0 // device 0 will be connected to "Com3"

After this is step i found that no thing changed in modulation cause i think you make factory reset after connect to the device. My question is how to change some configuration using nrcomm??



Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Change the configuration of the device.
« Reply #1 on: April 12, 2011, 09:47:47 am »
Hello

You can try something like following:

Code: [Select]
nrComm1.ComPortNo := 3;
nrComm1.Active := True;
nrComm1.SendString('at+MS=v90,0,0,0,0'#13);

Roman Novgorodov
DeepSofware
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.