Jason Reiss
Forum Replies Created
-
AuthorPosts
-
Jason ReissKeymaster
Look for Semtech LoRa modulation.
Jason ReissKeymasterYou can try to access the device through the USB Device port on the back of the unit. Connect with a terminal emulator at 115200. Login with the same creds as ssh.
Jason ReissKeymasterIf you have an internet connection and run
> opkg update
> opkg install openvpnIt will install that package for you to try.
I don’t know if anyone has.Jason ReissKeymasterTom,
Could you open a support case on support.multitech.com regarding the lora server crash and share your mote configuration to try to reproduce the error.
Network Address and keys used for ABP and commands used to enter mote into database?Thanks,
Jason
Jason ReissKeymasterDid you remove power from the UDK?
Jason ReissKeymasterJose,
For RF level testing you may need to make custom firmware using SxRadio libraries.
Through AT commands and the mDot library only LoRaWAN supported functionality will be available.
Here are some examples and libraries.
https://developer.mbed.org/users/dudmuck/
Also checkout the datasheets at Semtech.com for radio information.
http://www.semtech.com/apps/product.php?pn=SX1272Jason ReissKeymasterAre you trying to communicate with a LoRaWAN gateway? The AT-Command firmware and libmDot library are setup to use the LoRaWAN 1.0 communcation protocol which uses only LoRa and FSK modulations. The bandwidth is determined by datarate which must match the receiving entity.
If you want to use the Sx1272 radio on the mDot for communcations other than defined in LoRaWAN it will be better suited for you to use mbed and a SxRadio driver. All SxRadio drivers I have used employ settings for only LoRa and FSK modulations. GMSK would have to be added into them.
The following link has examples of an SxRadio tx and rx for mDot.
https://developer.mbed.org/users/dudmuck/Jason ReissKeymasterYou could issue AT until OK is received.
Jason ReissKeymasterWhat frequencies are used by the gateway.
Try AT+FSB=1 to use only the first 8 channels of US915
With AT+FSB=0 the mDot will use 64 channels and choose randomly between them.
The AT+RXDR command is not needed. The lora mac layer will choose the correct datarate depending on AT+TXDR setting and Rx window.
Jason ReissKeymasterJust swap the pins.
Serial debug(XBEE_DOUT, XBEE_DIN);
mts::MTSSerial serial(USBTX, USBRX, 512, 512);November 13, 2015 at 9:49 am in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #10000Jason ReissKeymasterlora-query will be run on the command line. It will open UDP session and issue command and give result. It makes it easier than using the “nc -u localhost 6677”.
# lora-query -t 5000 -s -n
November 13, 2015 at 9:33 am in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9997Jason ReissKeymasterAlso lora-query
Usage: lora-query [-t timeout] [-s] [-n]
Simple UDP client utility to pull info from LoRa Network server
–timeout (t) : UDP recv timeout, default: 100 (msecs)
–stats (s) : get LoRa Network server statistics
–stats-reset (r) : reset LoRa Network server statistics
–node-list (n) : get Node List
–json (j) : data in json format
–help (?) : returns this message
–version (v) : print versionNovember 13, 2015 at 9:32 am in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9996Jason ReissKeymasternode list
November 13, 2015 at 9:20 am in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9994Jason ReissKeymasterI found the issue with the config.
Backup interval must be a number, not a string.“backupInterval”: 21600,
November 13, 2015 at 8:59 am in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9991Jason ReissKeymasterOK, things are running?
November 13, 2015 at 8:58 am in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9990Jason ReissKeymasterWhen I copy and paste from the above post there are some bad quote characters. Are these in the file on the Conduit?
Here they are replaced with ‘?’ characters:
{ "db": "/var/config/lora/lora-network-server.db", "backupInterval": "21600?, "lora": { "netID": "010203?, "frequencyBand": "915?, "frequencySubBand": 7, "rx1DatarateOffset": 0, "rx2Datarate": 12, "maxTxPower": 14, "frequencyEU": 867500000 }, "udp": { "appPortUp": 1784, "appPortDown": 1786 }, "addressRange": { "start": "00:00:00:01?, "end": "FF:FF:FF:FE" }, "network": { "public": true, "leasetime": 1440, "name": "BGLORANETWORK", "passphrase": "BGLORANETWORK" }, "mqtt": { "enabled": true, "host": "127.0.0.1?, "port": 1883 }, "log": { "console": true, "syslog": false, "level": 30, "path": "/var/log/lora-network-server.log" } }
November 12, 2015 at 7:41 pm in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9981Jason ReissKeymasterAnother thing to do is check that the lora-network-server.conf file is in proper form. You can copy and paste the contents to jsonlint.com to verify it is still in json format. Fix any errors and copy/paste the file back.
- This reply was modified 8 years, 6 months ago by Jason Reiss.
November 12, 2015 at 6:49 pm in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9978Jason ReissKeymasterDid you change passphrase?
November 12, 2015 at 6:48 pm in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9977Jason ReissKeymasterTry stop and then start instead of restart.
November 12, 2015 at 6:22 pm in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9975Jason ReissKeymasterWhat does the log show?
November 12, 2015 at 6:12 pm in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9973Jason ReissKeymasterYou can check /var/log/lora-network-server.log.
It will mention the short name and passphrase.
Have you modified lmic for 8 channel operation?
November 12, 2015 at 5:57 pm in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9969Jason ReissKeymasterNetwork name and passphrase need to be at least 8 characters.
November 12, 2015 at 5:52 pm in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9968Jason ReissKeymasterCheck
# ps -A | grep loraMake sure lora-network-server is running.
November 12, 2015 at 5:50 pm in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9966Jason ReissKeymasterCommand should be
nc -u localhost 6677November 12, 2015 at 5:45 pm in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9964Jason ReissKeymasterCan you post an example of the node add command you issued?
Also post the command you use to connect to command port.
Jason ReissKeymasterWhat settings do you have on conduit?
Jason ReissKeymasterYou could also try to create a simple mbed program that just echos the serial input and try each interface in the program to trouble shoot without the AT firmware.
Serial Port pins: XBEE_DOUT, XBEE_DIN
USB Port pins: USBTX, USBRX#include "mbed.h" Serial pc(USBTX, USBRX); // tx, rx // Serial pc(XBEE_DOUT, XBEE_DIN); // tx, rx int main() { pc.baud(115200); pc.printf("hello\r\n"); while(1) { if(pc.readable()) { pc.putc(pc.getc()); } } }
Jason ReissKeymasterAt commands issued to the serial port.
USB is debug output only.
There is a bootloader on the USB that is accessible if you press enter key right after reset.
Jason ReissKeymasterAT-Commands will be accessible on the serial port of a UDK board.
On the usb port of the UDK board debug output can be seen if enabled.
Use AT+LOG=6 for the highest level of output.Be sure flow control is off.
I use minicom on mac. I did try CoolTerm and was able to access at command port.
The light on the UDK will be red until firmware is flashed, that is OK.
November 7, 2015 at 9:19 am in reply to: issue require nodejs module in functionGlobalContext doesn't work #9826Jason ReissKeymasterWhen the network server is shutdown all the database is saved to flash and reloaded on boot with all node session keys still intact. Nodes should not have to rejoin the network after a reboot.
Let us know if it is actually the case and we will address that.
Under what scenario would a Node-RED app that has been installed and running need to be rebooted? There may be an issue with other systems of the device not functioning properly. Perhaps the full reboot would be the appropriate action.
-
AuthorPosts