Hello Lemonisdead,
Thanks for your reply, I tried the partial lock as you suggested but I think this is not where my problem is, I think the code I'm trying to run from Service_Start is not working in particular the line "Admin.StartDiscovery" as none of the subs "Admin_DevceFound", "Admin_DiscoveryFinished" or "Admin_StateChanged" appear to be getting called. I know my service is running as I've got a counter that counts every minute as expected & my ToastMessage does display but nothing else happens. I should also mention that I got most of the code from an example from the Serial library to use bluetooth admin functions which I tested as normal first & the examples worked well. If I copy most of the code from the service module into an activity & make the necessary changes to use it in an activity it does work perfectly as I want......it just doesn't work in a service module!
Maybe what I'm trying to do cannot be done within a Service Module. I've attached my service module code below for you to see.
Thanks for the suggestion & help, Tom
Forgot to mention, I'm using B4A version 3.8 & a HTC One M8 with Android 4.4.2