BLE peripheral supports Android-L example

I would like to thank Android-L’s BLE peripheral mode for an example.

My code gave me strange errors (ie too many Advertiser), it doesn’t make any sense, because no advertiser can see something like Lightblue on ios from the scanner.

https://github.com/geoaxis/BluetoothTest runs L on my nexus 5.

First of all, when initializing the ad, I got:
public static final int ADVERTISE_FAILED_CONTROLLER_FAILURE

The operation failed due to a Bluetooth controller failure.

Constant value: 5(0x00000005)

I am running other Bluetooth applications, I Killed them all, restarted the Bluetooth service and succeeded. L is still a preview, so some loose results are expected.

geoaxis, thanks for the fork, otherwise I don’t have a chance to read this very clear Sample; there should be such a sample in the L dev preview sample.

Cheers

I want to thank one of the BLE peripheral modes of Android-L Example.

My code gives me weird errors (i.e. too many advertisers), which doesn’t make any sense because no advertisers can see from the scanner like Lightblue on ios .

https://github.com/geoaxis/BluetoothTest runs L on my nexus 5.

First , When initializing the advertisement, I got:
public static final int ADVERTISE_FAILED_CONTROLLER_FAILURE

Due to Bluetooth controller failure, the operation failed.

Constant value: 5(0x00000005)

p>

I am running other bluetooth applications, I killed them all, restarted the bluetooth service and succeeded. L is still a preview, so some loose results are expected.

geoaxis , Thanks for the fork, otherwise I don’t have a chance to read this very clear sample; it should be in the L dev preview sample There are samples like this.

Cheers

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3586 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.