Hi Devin, If I recall correctly, you get this if advertising is already enabled. On 11/11/20 12:49 PM, Devin Bayer wrote: > Hello, > > I am trying to figure out why I'm getting "Command Disallowed" for the HCI > commands "LE Set Advertise Enable" and "LE Set Advertising Parameters". I've > been trying for a few days to get a GATT service running; first with the D-BUS > API, which occasionally worked but was very unstable. Now I'm trying with HCI > directly with the pybleno / bleno libraries. > > I have bluetoothd disabled and I have tried an `hciconfig reset` and reboot. > Unsure what else I can do, I'm asking here. > > The errors are these: > >> HCI Event: Command Complete (0x0e) plen 4 #14 [hci0] 3.406377 > LE Set Advertise Enable (0x08|0x000a) ncmd 1 > Status: Command Disallowed (0x0c) > >> HCI Event: Command Complete (0x0e) plen 4 #16 [hci0] 3.407380 > LE Set Advertising Parameters (0x08|0x0006) ncmd 1 > Status: Command Disallowed (0x0c) -- Michael N. Moran (h) 770 704 9751 218 Wilshire Terrace (c) 678 521 5460 White, GA, USA 30184 http://mnmoran.org