arduino-libraries / MKRGSM

GNU Lesser General Public License v2.1
54 stars 51 forks source link

Add setBaudRate and setDebugStream to Modem class #82

Closed dzindra closed 5 years ago

dzindra commented 5 years ago

Sometimes it is useful to slow down modem baud rate and send debug info somewhere else. Additions do not change default behaviour (baud rate 921600 and Serial as debug output)

sandeepmistry commented 5 years ago

Hi @dzindra,

After discussing with @Rocketct outside of Github, we're thinking of overloading the debug API:

void debug(Print& print);

I'll push some commits to this branch before we merge.

sandeepmistry commented 5 years ago

@dzindra thanks!