spp

Did something change with Bluetooth Serial in Android 10?

守給你的承諾、 提交于 2021-02-11 16:27:24
问题 I have a Google Pixel 3a XL on Android 10 that is unable to make a good Bluetooth serial connection to a Bluetooth SPP module using Bluetooth 2.0. However, I can connect to a module with Bluetooth 1.2. I haven't been able to determine if this is related to all of Android 10, or something specific to the Pixel 3 line. I'm trying to get GPS position data from a GPS receiver via Bluetooth. When I try to bring up a connection using createInsecureRfcommSocketToServiceRecord() , the serial

Did something change with Bluetooth Serial in Android 10?

一曲冷凌霜 提交于 2021-02-11 16:27:08
问题 I have a Google Pixel 3a XL on Android 10 that is unable to make a good Bluetooth serial connection to a Bluetooth SPP module using Bluetooth 2.0. However, I can connect to a module with Bluetooth 1.2. I haven't been able to determine if this is related to all of Android 10, or something specific to the Pixel 3 line. I'm trying to get GPS position data from a GPS receiver via Bluetooth. When I try to bring up a connection using createInsecureRfcommSocketToServiceRecord() , the serial

Android Bluetooth SPP with Galaxy S3

邮差的信 提交于 2020-01-11 07:38:09
问题 I'm trying to establish a bluetooth connexion between a Samsung Galaxy S3 running with Android 4.0.3 and a RN 42 Bluetooth Chip, here is the model : I used lot's of different codes for setting up a bluetooth serial communication, and all of them are working very well on the HTC Wildfire i was using before. But now that i'm using the galaxy s3 phone, it's impossible to establish the connexion. Here is the code i'm using, i found it here : I put the permissions in the android manifest. First,

android bluetooth connection fails after 489 successful connections

一笑奈何 提交于 2020-01-10 19:15:28
问题 unfortunately, I have some problems with android's bluetooth. For my test environment I use a Nexus 4 with Android 4.4.2. I have a Java Application on my PC, which uses bluecove in order to make a SPP connection as client. The programme is looking for a special service name and connects with my android phone. Afterwards it sends 72 bytes to my android phone and waits for an answer. When getting that answer the programme sleeps for 3 seconds and than starts again. On my android phone I have an

Is there any supported Bluetooth profile which is used in iOS except 6 profiles(HFP, PBAP, A2DP, AVRCP, PAN, HID)?

為{幸葍}努か 提交于 2020-01-04 04:43:09
问题 Is there any supported Bluetooth profile which is used in iOS5 except 6 profiles(HFP, PBAP, A2DP, AVRCP, PAN, HID)? Can I use SPP(Serial-Port profile) as developing iPhone app? 回答1: If you want to use Serial Port Profile(SPP),either you need to apply for MFi or use MFi certified devices to communicate with iOS. Here is the MFi link https://developer.apple.com/programs/mfi/ In addition to the above Profiles MAP is supported from iOS6. You can find the supported profile under this link http:/

Android: Switch between SPP Bluetooth Devices

你说的曾经没有我的故事 提交于 2019-12-29 06:35:09
问题 I have two different Bluetooth Printers. Bixolon SPP-R200 and Fujitsu FTP-628WSL110. I can connect to each of them separately (using a Samsung Galaxy SII) print, disconnect and reconnect just fine. However, if I switch off the Bixolon and try to pair with the Fujitsu (previously unpaired, Bixolon is still paired), then it fails when trying to connect to the created socket. Same the other way around. Here is the error message: 07-02 13:00:11.040: E/MyApp.BluetoothConnection(9380): Failed to

Connecting a Laser Distance Measurer (Bosch Disto GLM 50 C) with Smartphone (Android Studio)

孤人 提交于 2019-12-20 20:17:43
问题 I got stuck at a special problem (I think). For a study project I have to make an Android application that can connect to a Laser Distance Measurer (Bosch GLM 50 C Distometer). So far I went through countless tutorials and hints here at Stackoverflow and other sources. I'm new to Android and am sligthly overwhelmed. The task is to create an app, that reads the measured distance on the Bosch device and display/save it on the smartphone via Bluetooth. Now my concrete question is: Is it possible

Connecting a Laser Distance Measurer (Bosch Disto GLM 50 C) with Smartphone (Android Studio)

佐手、 提交于 2019-12-20 20:17:33
问题 I got stuck at a special problem (I think). For a study project I have to make an Android application that can connect to a Laser Distance Measurer (Bosch GLM 50 C Distometer). So far I went through countless tutorials and hints here at Stackoverflow and other sources. I'm new to Android and am sligthly overwhelmed. The task is to create an app, that reads the measured distance on the Bosch device and display/save it on the smartphone via Bluetooth. Now my concrete question is: Is it possible

Setting up a pc bluetooth server for android [duplicate]

情到浓时终转凉″ 提交于 2019-12-20 10:48:11
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Service discovery failed exception using Bluetooth on Android Alright, I've been reading a lot of topics the past two or three days and nothing seems to have asked this. I am writing a PC side server for my andriod device, this is for exchanging some information and general debugging. Eventually I will be connecting to a SPP device to control a microcontroller. I have managed, using the following (Android to pc)

SPP profile bluetooth iOS

a 夏天 提交于 2019-12-18 13:06:34
问题 does anyone got a sample code of SPP communication ( serial over bluetooth ) for iOS ? I'd need to communicate between my microchip pic and an iphone or iPod. I know I need a approved apple bluetooth rs232<->BT dongle and I have some with a MFi contract too ;) Regards. 回答1: For people like me who were looking at infos. If you are not going to use Bluetooth LE devices with iOS and the associated corebluetooth, you need a MFi licence and bluetooth module from a certified vendor. Using those