Giter Club home page Giter Club logo

rak5205-wistrio-lora's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rak5205-wistrio-lora's Issues

Only reports GPS once

We are trying to use this as a tracker and I can't for the life of me figure out how to get it to set a GPS transmit interval. From what I can tell, with the latest firmware, its posts its GPS location once and then never again. Is there something I can change to set an interval to transmit GPS?

Power consumption in sleep mode 100 times larger than specifications

I am currently making some power consumption tests with the board (RAK 5205) and my findings are that with firmware 2.0.1.9 (and also with other previous versions) the minimum power consumption achieved is 1.6mA...

The datasheet says it consumes 14.5uA in sleep mode. That is more than 100 times less current... I'm no the only one experimenting this issue. Some users in the forum have experimented the same. (https://forum.rakwireless.com/t/rak5205-power-consumption-too-high/150)

I'm using:

  • ABP mode
  • app_interval=10
  • gps_stime=60
  • ps = 1 (power save)
  • msg_confirmation = 0

Please @RAKWireless can you say something about this?

Thanks

LIS3DH no ACK and BME sensor last FW version not working. 2.x.0.3

I have made some GPS modification via KEIL and used last src code you have here at github but sensor, BME is not working.
At serial interface it is saying:
RAK5205_TrackerBoard software version:2.1.0.3

LIS3DH no ack

LIS3DH is not found!

BME I2C WRITE ERROR

BME set regs ERROR

BME soft reset ERROR

BME680 Init ERROR

Please Configurate parameters...

Regards!
EDIT: using your source code doesnt't work too.
Uncommented */
#define LORA_HF_BOARD
#define TRACKERBOARD
and it is still using LF version no creating HF for EU.

AT commands specification is different in every PDF

The AT Command specification for Wistrio 5205 is a mess. In every PDF of official documentation, the commands are different and none of them work in the boards bought recently.

For example the command to change the Lora Join mode to abp:
https://github.com/RAKWireless/RAK5205-WisTrio-LoRa/blob/master/doc/5205-WisTrio-LoRa%20node%20V1.2.pdf
at+join_mode=abp

https://github.com/RAKWireless/RAK5205-WisTrio-LoRa/blob/master/doc/RAK811%C2%A0Lora%C2%A0AT%C2%A0Command%C2%A0V1.4.pdf
at+join=abp

https://downloads.rakwireless.com/en/LoRa/RAK811/Application_Notes/Get_Start_with_RAK811_WisNode_LoRa.pdf
at+set_config=lora:join_mode:0

None of them work in recently bought boards with pre-instaled firmware version: 2.0.1.9.

Compile error when attempting to build 2.x.0.3

I'm getting a compile error when I try to compile "LoRaWAN/master/system/gps.c" module. It definitely appears that there is a syntax error in the program that can't be fixed without changing the source file. The undefined variable is defined in "driver/lis3dh.c", but it is not visible by gps.c. The undefined item is LIS3DH_ODR_FREQ.

Speed of tracked device.

Hi!
It seems we are able to have speed from GPS Quectel but it is not already in code, Will you add speed tracking?

Issue with STM32Flash utility

Hello,

Flashing the pre built firmware available in the repo using STM32Flash utility fails to start the application. Below is the output of the utility:

sudo ./stm32flash -b 115200 -w RAK5205_LF_trackerboard.bin -v -g 0x08000000 -e 255 /dev/ttyUSB0
stm32flash 0.5

http://stm32flash.sourceforge.net/

Using Parser : Raw BINARY
Interface serial_posix: 115200 8E1
Version      : 0x31
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0429 (STM32L1xxx6(8/B)A)
- RAM        : 32KiB  (4096b reserved by bootloader)
- Flash      : 128KiB (size first sector: 16x256)
- Option RAM : 32b
- System RAM : 4KiB
Write to memory
Erasing memory
Wrote and verified address 0x0800ff00 (62.04%) Done.

Starting execution at address 0x08000000... done.

Looks like the entire firmware is not getting written into Flash memory (note 64%). However, flashing the Zephyr binary works fine.

Potential buffer overflow in NmeaString[] within gps-board.c

In module /board/RAK811/gps-board.c the array NmeaString is defined as 512 bytes, however when parsing through the incoming data in function GpsMcuIrqNotify(), the bounds check is for 1024 bytes. Perhaps it is never actually overflowing as long as '$' and '\n' is always spotted by the function, however there exists the possibility that an unusually long message might not be properly truncated by the code and would allow the function to destroy memory contents beyond the defined size of the buffer.

/*
 * \brief Buffer holding the  raw data received from the gps
 */
uint8_t NmeaString[512];

void GpsMcuIrqNotify( UartNotifyId_t id )
{
    uint8_t data;

    if( id == UART_NOTIFY_RX )
    {
        if( UartMcuGetChar( &GpsUart, &data ) == 0 )
        {
            if( ( data == '$' ) || ( NmeaStringSize >= 1024 ) )
            {
                NmeaStringSize = 0;
            }

            NmeaString[NmeaStringSize++] = ( int8_t )data;
            if( data == '\n' )
            {
                NmeaString[NmeaStringSize++] = '\0';

                GpsParseGpsData( ( int8_t* )NmeaString, NmeaStringSize );
#ifdef GPS_PPS
                UartMcuDeInit( &GpsUart );
#endif
                BlockLowPowerDuringTask ( false );
            }
        }

    }
}

Firmware 2.x.0.6 speed not correct.

Hi!
I am using last firmware and Rak5205 is sensind values with speed with it should be 0. GPS antenna is outside and with full view of sky but it is constantly sending 3-4-5 km/h.
Any thoughts?
Regards!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.