ds
This commit is contained in:
parent
f0da769fcc
commit
53e060f189
|
@ -78,9 +78,9 @@ func AddData(data interface{}) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ds *DataSender) send(data []*messages.Data) {
|
func (ds *DataSender) send(data []*messages.Data) {
|
||||||
for _, v := range data {
|
//for _, v := range data {
|
||||||
log.Printf("SEND SENSOR RESULT : %s - %s", v.SensorId, v.Data)
|
// //log.Printf("SEND SENSOR RESULT : %s - %s", v.SensorId, v.Data)
|
||||||
}
|
//}
|
||||||
|
|
||||||
//ds.addFailedData(data)
|
//ds.addFailedData(data)
|
||||||
//addr := ds.gconf.Central.Address + ":" + string(ds.gconf.Central.Port)
|
//addr := ds.gconf.Central.Address + ":" + string(ds.gconf.Central.Port)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user