| 1 | package ble |
| 2 | |
| 3 | import ( |
| 4 | "github.com/bettercap/gatt" |
| 5 | // "github.com/bettercap/gatt/linux/cmd" |
| 6 | ) |
| 7 | |
| 8 | var defaultBLEClientOptions = []gatt.Option{ |
| 9 | gatt.LnxMaxConnections(255), |
| 10 | gatt.LnxDeviceID(-1, true), |
| 11 | } |
| 12 | |
| 13 | /* |
| 14 | |
| 15 | var defaultBLEServerOptions = []gatt.Option{ |
| 16 | gatt.LnxMaxConnections(255), |
| 17 | gatt.LnxDeviceID(-1, true), |
| 18 | gatt.LnxSetAdvertisingParameters(&cmd.LESetAdvertisingParameters{ |
| 19 | AdvertisingIntervalMin: 0x00f4, |
| 20 | AdvertisingIntervalMax: 0x00f4, |
| 21 | AdvertisingChannelMap: 0x7, |
| 22 | }), |
| 23 | } |
| 24 | |
| 25 | */ |