Digistump Forums

The DigiX => DigiX Support => Topic started by: sdc on May 08, 2014, 07:22:46 am

Title: How to change SERIAL_BUFFER_SIZE for digix?
Post by: sdc on May 08, 2014, 07:22:46 am
So I'm reading in a NMEA string and its cutting me off at 63 chars. I tried changing HardwareSerial.h in /avr/cores/arduino to be
Code: [Select]
#if (RAMEND < 1000)
  #define SERIAL_BUFFER_SIZE 64
#else
  #define SERIAL_BUFFER_SIZE 128
#endif


but it made no difference.   Anyone have any ideas on how to change the serial buffer size for the digix?
Title: Re: How to change SERIAL_BUFFER_SIZE for digix?
Post by: digistump on May 12, 2014, 09:40:59 pm
There must be something else in play here - the wifi module uses serial and has hundreds of characters - my guess is the buffer on the GPS side is running out before the DigiX receives it - or something similar. What baud is the GPS at?
Title: Re: How to change SERIAL_BUFFER_SIZE for digix?
Post by: kd7eir on May 21, 2014, 10:43:20 am
What GPS are you using?  Have you researched it to see if there are any known issues on that side?