This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Has anyone written a console mode version of Master Control Panel?

The existing Master Control Panel cannot be used as an automatic test platform. Basically I am looking to send commands via a tcp/ip which will invoke scan/connect/disconnect/discover etc. I can then use that to automate a regression test platform. I currently use TI's BTOOL with their usb adapter and works great. However, I want to automate testing of the GATT Client api of Softdevice S110 and I keep hitting a brick wall with it as TI's BTOOL is not capable of serving a gatt table.

For the right C# source, I would put a case to my management to pay a reasonable amount for it.

Parents
  • Stephen

    Thank you for your suggestion.

    I am attempting to write a console mode C# application based on the Master Emulator API as I write this :-) I just don't the have the spare time to do it, but have no choice but to bite the bullet.

    Thank you for pointing out the python stuff. Had a look and as you say no documentation. Unfortunately I have no python experience.

    Looks like Nordic could be using it for their own automated testing. I asked them what they use for regression testing but got no answer. They must be doing something :-)

    Thanks Mahendra

  • Hi Martin In the end I did write our own in C#. It is a console mode app and accepts commands over a serial port or via keyboard. Commands like ..

    usbscan open adapternum open adapterStringName addsvc uuid16|"uuid128" addchar uuid16|"uuid128" attrlen props adddesc uuid16|"uuid128" attrlen props run scan scanIntMs scanWinMs "active"|"passive" scan "stop" connect adrtype "macaddr" scnIntMs scnWinMs conIntMs slvltcy sprToutMs connect "macaddr" scnIntMs scnWinMs conIntMs slvltcy sprToutMs lpipew pipenum hexdatastring rpipew pipenum hexdatastring discon ver quit close help

Reply
  • Hi Martin In the end I did write our own in C#. It is a console mode app and accepts commands over a serial port or via keyboard. Commands like ..

    usbscan open adapternum open adapterStringName addsvc uuid16|"uuid128" addchar uuid16|"uuid128" attrlen props adddesc uuid16|"uuid128" attrlen props run scan scanIntMs scanWinMs "active"|"passive" scan "stop" connect adrtype "macaddr" scnIntMs scnWinMs conIntMs slvltcy sprToutMs connect "macaddr" scnIntMs scnWinMs conIntMs slvltcy sprToutMs lpipew pipenum hexdatastring rpipew pipenum hexdatastring discon ver quit close help

Children
No Data
Related