Rak Serial Port is a tool that allows sending commands to the device via serial ports in an intuitive way. However, there are different options available for this on Mac. The one I can recommend is CoolTerm.
For more information about the AT commands, refer to this manual.
I’m in the same boat (using a Mac) and these tips were helpful. However, I am only able to see the output from the device in the terminal. When I type an AT command (at+version) and hit enter it does not return anything. Any suggestions?
Thanks @carlrowan. I double checked my settings and they match what you describe. However when I send an AT command there is just no response. When I push a button I see the output.! Appreciate any tips. Screen Shot 2020-10-29 at 9.37.03 AM|690x477
I’m normally using this for RAK811/RAK4200/RAK4260 - I’ve got my RAK7204 from the kitchen but its battery is flat which is a bit sad after only 14,035 uplinks, so I’ll finagle a replacement and see what happens.
I should have mentioned I’m using a RAK7201 (LoraWAN button) and was hopeful it would be the same as 7204. I tried the driver you suggested and holding down button one that someone suggested unlocks the serial port. I now get a response from the device, but it is simply:
at+version
AT Command ERROR
I also looked at drivers for the CH340G, but read that: Do not install if you have the current macOS Mojave 10.14 or later. macOS Mojave 10.14 (released in October 2018) includes a CH34x driver by Apple. If both Apple’s and the OEM driver are installed, they will create conflicting non-functional serial ports. Steps 1 to 3 below can be useful to remove the conflicting OEM drivers.
Here is the linux log, when RAK7201 is plugged, just for information
Blockquote[ 87.687650] usb 2-2: new full-speed USB device number 3 using ohci-pci
[ 88.016868] usb 2-2: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.63
[ 88.016871] usb 2-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 88.016873] usb 2-2: Product: USB2.0-Serial
[ 89.015785] usbcore: registered new interface driver usbserial_generic
[ 89.016271] usbserial: USB Serial support registered for generic
[ 89.028618] usbcore: registered new interface driver ch341
[ 89.028686] usbserial: USB Serial support registered for ch341-uart
[ 89.028747] ch341 2-2:1.0: ch341-uart converter detected
[ 89.049107] usb 2-2: ch341-uart converter now attached to ttyUSB0
Hi @whereissean Before use the AT commands, please hold down the number 1 key for a few seconds. All four LEDs will go blue. This is the config mode. Now you can use the AT commands. RAK7201 is based on the RAK4270 module.
@velev Thanks for the tip. I read this somewhere and tried holding the key 1, but what happens for me is that the light next to button 4 turns red (instead of all buttons blue). When attached to serial console the message I see is lowpower mode set to either 0 or 1, so it seems that my device buttons are mapped differently. Any other ideas for how to put it in config mode?
@alnunez Thanks for the linux idea. Actually I do have a few raspberry pi laying around somewhere, so that may be the next thing I try…stupid Mac.