This commit is contained in:
insanity@loafle.com 2017-05-17 13:02:40 +09:00
parent f0da769fcc
commit 53e060f189

View File

@ -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)