Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - thienkyo

Pages: [1]
1
Android / Re: Using customUUID in Android example
« on: December 24, 2015, 12:56:55 AM »
@MattG: I saw ur modified code. no need to show me it again.

2
Android / Re: Using customUUID in Android example
« on: December 24, 2015, 12:36:47 AM »
 Thanks guys,

@MattG:  I didn't use BluetoothHelper.java bc i wanna make a custom UUID quickly, and not baseed on base BLE default UUID(00000000-0000-1000-8000 00805F9B34FB).  Can you show me how you modifie the java code. I guess you customize the UUID but sitll based on base BLE default UUID.

@tolson : thanks for reply. It really does help.

I will test it and let you know the results.

3
Android / Re: Using customUUID in Android example
« on: December 07, 2015, 07:11:56 PM »
Hi MattG,

Recently i did what you did (using customUUID sketch), but it did't work. Here what i did

1. upload customUUID sketch with RFduinoBLE.customUUID = "c97433f0-be8f-4dc8-b6f0-5343e6100eb4";

2. Android app: MainActivity.java

.....
UUID[] uuid_test =   new UUID[]{ UUID.fromString("c97433f0-be8f-4dc8-b6f0-5343e6100eb4")} ;

.... then

bluetoothAdapter.startLeScan( uuid_test ,MainActivity.this);

As you can see, uuid from both rfduino and app are the same, and the phone cannot see it when scanning . Can you show me where i did wrong b/c you said "I am able to see my device when scanning"


Pages: [1]