misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-03-13 18:02:25 +01:00
commit 5a18acd092
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -38,6 +38,10 @@ func NewBLE(newcb BLEDevNewCallback, lostcb BLEDevLostCallback) *BLE {
}
}
func (b *BLE) Get(id string) (dev *BLEDevice, found bool) {
return
}
func (b *BLE) MarshalJSON() ([]byte, error) {
doc := bleJSON{
Devices: make([]*BLEDevice, 0),