Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm testing a bluetooth application running on an Android device. I registered a dummy service on the device and opened the RFCOMM channels to it from the PC running Ubuntu 12.04:

bluez-test-serial 7C:E9:D3:DE:03:0A 43502780-ef1e-11e2-b778-0800200c9a66

It spawns /dev/rfcomm0 alright, but immediately after I'm catching channel input on the device side. It reads AT+GC. Surprisingly, it seems to happen only the first time after I login.

I grepped through the BlueZ sources to no avail.

Does anybody know what could be the source of this unsolicited AT command being fed into the channel?

share|improve this question
1  
AT+GC belongs to the V.250 AT+G series which is Generic issues such as identity and capabilities. So without knowing the exact meaning of the command, it's probably trying to identify the modem or its capabilities. I don't know anything about what might be issuing it, but maybe that'll help you track it down. –  Michael Kjörling Jul 18 '13 at 8:04

1 Answer 1

up vote 1 down vote accepted

The program sending it is modem-manager. I ran into this issue with it too. I never figured out how to make it ignore my device, so I just uninstalled the program. Not sure if that is an acceptable solution for you or not.

share|improve this answer
    
Fair enough, buddy :) –  Roman Saveljev Sep 1 '13 at 7:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.