[Lazarus] Bluetooth package error

Anthony Tekatch anthony at unihedron.com
Sat Apr 20 01:51:17 CEST 2013


On Fri, 19 Apr 2013 19:37:17 -0400, Anthony Tekatch <anthony at unihedron.com> wrote:
> Also, I noticed that the "hci_inquiry_1" returns 0 if only one Bluetooth
> device is found, in WiiMoteTools.pas :
>   "for i:=0 to found_devices-1 do begin"
> will not work, it should be changed to:
>   "for i:=0 to found_devices do begin"

Oops, I was wrong about this returned device count, it does = 1 if one
device is found. No change required for my "hci_inquiry_1" issue.

Anthony


More information about the Lazarus mailing list