Jason Reiss
Forum Replies Created
-
AuthorPosts
-
Jason Reiss
KeymasterThanks for the post. Looks like a great project and starting point for custom application development.
Jason Reiss
KeymasterManual mode allows a placeholder.
Anything between the angled brackets will be replaced by the HW EUI.
“gateway_ID”: “<LORA-EUI>”,The next release will have an option to fill the EUI from the hardware for the LoRa Packet Forwarder config.
-
This reply was modified 6 years, 4 months ago by
Jason Reiss.
January 13, 2019 at 6:08 pm in reply to: JoinRequest rejected cause UnknownDevEUI even if I added the device #27063Jason Reiss
KeymasterThe AppKey is required to match the device.
January 13, 2019 at 10:19 am in reply to: JoinRequest rejected cause UnknownDevEUI even if I added the device #27061Jason Reiss
KeymasterAdd the device eui and key into Key Management page.
Device Config and Session is for ABP provisioning.
Jason Reiss
KeymasterA network server can send a packet to the end-device to enter a test mode of operation. Test Mode can enable/disable ACK and echo payloads back to the test server. ADR can be used to change the datarate of the end-device.
TestMode is implemented in the LoRaWAN stack, the reference Semtech stack shows the client side functionality starting at line 705.
https://github.com/Lora-net/LoRaMac-node/blob/7c3953ea531bdd0ae194f91463eec38d4d4f93b1/src/apps/LoRaMac/classA/B-L072Z-LRWAN1/main.cFull test documentation is available for LoRa Alliance members at https://lora-alliance.org/
January 7, 2019 at 12:28 pm in reply to: Downlink Data being received on Port 0, resulting in invalid MAC Command errors. #27038Jason Reiss
KeymasterDid you find that one of your proposed solutions works?
January 5, 2019 at 1:40 pm in reply to: Downlink Data being received on Port 0, resulting in invalid MAC Command errors. #27030Jason Reiss
KeymasterExpected type for port is an int.
January 4, 2019 at 7:49 am in reply to: How to set code rate (codr) for UL transmission in loramdot? #27028Jason Reiss
KeymasterLorawan uses 4/5 coderate only.
Using next datarate will allow more range than increased coderate.Using an open stack source would allow changing. The sxradio driver will allow all options.
https://github.com/ARMmbed/mbed-os-example-lorawanJason Reiss
KeymasterCould be scheduling conflict or duty-cycle limits. What channel plan is used?
Jason Reiss
KeymasterPlease create support ticket and provide sw and hw version info. Also provide full logs of state transition from working to non-working if possible.
support.multitech.com
January 2, 2019 at 7:38 am in reply to: Downlink Data being received on Port 0, resulting in invalid MAC Command errors. #27019Jason Reiss
KeymasterThe default port for a downlink should be 1 if “port” is not provided in the JSON.
What is the JSON provided to the network server when queuing a downlink?
December 13, 2018 at 7:24 am in reply to: Lora Server misrepresenting frame counter most significant 16 bits #26980Jason Reiss
KeymasterThe node should be saving the last uplink counter, it is not expected to reset to 0. This is a replay attack vulnerability.
Jason Reiss
KeymasterDHCP server is not enabled by default. Assign the PC an address such as 192.168.2.100 and set the gateway to 192.168.2.1.
Jason Reiss
KeymasterWhat version of network server is being used?
SNR > 0 will allow SF7
What ADR commands are being sent to the end-device?$ mosquitto_sub -v -t lora/+/+
Normally ADR will not reduce the datarate using commands.
Why doe the datarate degrade from SF7 so quickly at the end of this sequence?Jason Reiss
KeymasterThe 210A does not have GPS.
We do not offer a GPS accessory card.GPS is available as a build option for the Conduit and Conduit IP units.
246A or 247A would be the product you will need.December 2, 2018 at 11:27 am in reply to: shared network / app keys between lora network servers #26910Jason Reiss
KeymasterABP session info can be duplicated to accept uplinks at both gws.
OTA only allows one gw to be joined, no shared session.
Counter could get out of sync if one is out of range, this would be more of a problem for the downlink counter as uplink counter is updated on packet rx at gw.
Jason Reiss
KeymasterPOST /api/lora/restart
Developer tools in browser will show api end points in requests used by the UI.
Jason Reiss
KeymasterMTSSerial is used on mDot/xDot as well as our cellular modules. It is a wrapper of RawSerial that adds buffers.
MTSSerial does not support RS485. I am not certain it will meet your requirements.
There are projects such as modserial and RS485 available on mbed that may be of interest.
https://os.mbed.com/users/Allar/code/RS485/docs/tip/classRS485.html
https://os.mbed.com/cookbook/MODSERIALJason Reiss
KeymasterI do not know if it is.
Jason Reiss
KeymasterThis packet forwarder has support for multiple server addresses.
https://github.com/kersing/packet_forwarder/tree/master/mp_pkt_fwdOtherwise it should be possible with node-red to send the UDP packets to each server and relay the responses back to the packet forwarder.
Two servers will have downlink collisions trying to schedule packets to be sent out the radio.
Jason Reiss
KeymasterThe DeviceTime MAC command is specified in LoRaWAN 1.0.3, the network must be notified out-of-band that it supports this command.
The DeviceTime is used for Class B device to find the first beacon.
We will add a command that makes the DeviceTimeReq to a network server and provide the DeviceTimeAns payload in the response of the AT Command.
We may not modify the RTC on the module as it is not needed for the AT firmware.
Jason Reiss
KeymasterOverriding the MeasureBattery function will allow the application to provide a battery level to the DeviceStatusAns MAC command.
Jason Reiss
KeymasterLW 1.1 is expected to be ready Q2 next year.
We will add an AT command to query the device RTC clock time.
The AT firmware will update the RTC when a device time MAC command is received.The command will output current UTC seconds.
This command will be available in our next release with LW 1.0.3 with Class B expected next month.Accuracy according to LoRaWAN DeviceTimeReq/Ans definition:
* The time provided by the network MUST have a worst case accuracy of +/- 100 mSec.Jason Reiss
Keymasterlora-network-server v2.0.19 in mLinux v3.3.24
up messages will be published to the following topics
lora/<DEV-EUI>/up
lora/<APP-EUI>/<DEV-EUI>/up
lora/<APP-EUI>/<DEV-EUI>/<PORT>/upThe same message should appear on all topics.
lora-network-server v1.0.36 in mLinux v3.3.9
Only lora/<DEV-EUI>/up is produced.
Jason Reiss
Keymasterhttps://os.mbed.com/teams/MultiTech/code/MTS-Serial
Below is the ISR handler we use in our custom serial driver on the AT command port.
void MTSSerial::handleWrite() { while(txBuffer.size() != 0) { if (_serial->writeable()) { char byte; if(txBuffer.read(byte) == 1) { _serial->attach(NULL, Serial::RxIrq); _serial->putc(byte); _serial->attach(this, &MTSSerial::handleRead, Serial::RxIrq); } } else { return; } } }
Jason Reiss
KeymasterEncode the newlines as \n in the config field.
JSON does not support multiline strings.What does the request look like when 4-5 random lines are removed?
Jason Reiss
KeymasterPlease create a case at support.multitech.com to exchange device info and get instructions.
November 12, 2018 at 7:34 am in reply to: Node Red payload buffers can't contain "binary" zeros #26733Jason Reiss
KeymasterThe configuration of the lora-in node changes the output between a buffer or string. You must choose bytes to get a buffer from the node.
The lora-out node will accept payload input as a buffer or a string and convert them to base64 to be passed to the network server. The type of “payload” field determines how the node will process the data.
November 9, 2018 at 2:29 pm in reply to: Node Red payload buffers can't contain "binary" zeros #26731Jason Reiss
KeymasterThe payload is received by the lora-in node as a base64 string and transformed into a buffer within node-red.
The lorawan payload will be presented in full as a buffer.
lora-out node will do the reverse operation of converting a buffer to a base64 string.
-
This reply was modified 6 years, 4 months ago by
-
AuthorPosts