File tree Expand file tree Collapse file tree 4 files changed +40
-0
lines changed Expand file tree Collapse file tree 4 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python 
2+ # 
3+ # Copyright (c) 2019, Pycom Limited. 
4+ # 
5+ # This software is licensed under the GNU GPL version 3 or any 
6+ # later version, with permitted additional terms. For more information 
7+ # see the Pycom Licence v1.0 document supplied with this file, or 
8+ # available at https://www.pycom.io/opensource/licensing 
9+ # 
10+ 
111''' Set here you setup config in this example 
212''' 
313CONFIG  =  {
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python 
2+ # 
3+ # Copyright (c) 2019, Pycom Limited. 
4+ # 
5+ # This software is licensed under the GNU GPL version 3 or any 
6+ # later version, with permitted additional terms. For more information 
7+ # see the Pycom Licence v1.0 document supplied with this file, or 
8+ # available at https://www.pycom.io/opensource/licensing 
9+ # 
10+ 
111''' A MQTT wrapper for Google Cloud IoT MQTT bridge 
212    Extended from umqtt.robust by Paul Sokolovsky with wrap of Google credentials 
313
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python 
2+ # 
3+ # Copyright (c) 2019, Pycom Limited. 
4+ # 
5+ # This software is licensed under the GNU GPL version 3 or any 
6+ # later version, with permitted additional terms. For more information 
7+ # see the Pycom Licence v1.0 document supplied with this file, or 
8+ # available at https://www.pycom.io/opensource/licensing 
9+ # 
10+ 
111''' Example Google IoT Core connection 
212''' 
313import  utime 
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python 
2+ # 
3+ # Copyright (c) 2019, Pycom Limited. 
4+ # 
5+ # This software is licensed under the GNU GPL version 3 or any 
6+ # later version, with permitted additional terms. For more information 
7+ # see the Pycom Licence v1.0 document supplied with this file, or 
8+ # available at https://www.pycom.io/opensource/licensing 
9+ # 
10+ 
111'''umqtt is a simple MQTT client for MicroPython. 
212   Original code: https://github.com/micropython/micropython-lib/tree/master/umqtt.simple''' 
313import  time 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments