Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
sdk:sdk [2018/09/18 08:44]
juraschek [The Language]
sdk:sdk [2019/07/08 12:53]
fachet [GPS]
Line 14: Line 14:
 * otherwise we 'd have to send a short message . * otherwise we 'd have to send a short message .
 */ */
-for ( attempts = 0; attempts < 3; attempts ++) { +for ( attempts=0; attempts<​3;​ attempts ++) { 
-  if ( nb_serial_read ("​serial0"​) == " Knock Knock !") {+  if ( nb_serial_read ("​serial0"​) == "Knock Knock !") {
     nb_serial_write ("​serial0",​ "Who 's there ?");     nb_serial_write ("​serial0",​ "Who 's there ?");
     if ( nb_serial_read ("​serial0"​) == " Santa ") {     if ( nb_serial_read ("​serial0"​) == " Santa ") {
Line 133: Line 133:
 ==== GPS ==== ==== GPS ====
   * [[sdk:​gps-udp-broadcast|Broadcast selected GPS NMEA data to different UDP ports]]   * [[sdk:​gps-udp-broadcast|Broadcast selected GPS NMEA data to different UDP ports]]
 +  * [[sdk:​gps-udp-client-backwards|Send GPS data to a remote UDP port]]
  
 ==== Serial ==== ==== Serial ====