Home Forums IDC747 General Questions IDC777 module on custom PCN – no UART resplies Reply To: IDC777 module on custom PCN – no UART resplies

#2511

mike_ts
Participant

    Hi there Ash,

    How are you ?
    I have a question for you regarding the capability of the IDC777 Bluetooth stack implementation with regards to the simultaneous use of the HFP and AGHFP profiles with phones and headsets.
    Is this handled reliably on the IDC777 or should one assume it is better to not confuse the two profiles and to keep the separate during use with a phone or a headset ? I am ware of some BT stacks that will correctly handle such scenarios but am not sure if the IDC777 can as after trying, I do get some odd behaviour.

    Namely with these settings : 
    BT_CONFIG=1 1 0
    PROFILES=ON 1 1 0 0 1 0 1
    When I reboot the IDC777 the paired Shokz C102 headset connects automatically after a few seconds, like :
    AudioAgent IDC777 V3.1.70
    Build: 0400427b
    Bluetooth address 245DFC020046
    Ready
    aptX Lossless: ON
    PAIR_PENDING

    OPEN_OK 12 AGHFP 2074CFB4E54B     <——– Shokz C102
    ABS_VOL 12 13
    STATUS
    STATE CONNECTABLE[ON] DISCOVERABLE[IDLE] ADVERTISING[OFF] SCAN_UNI[OFF]
    LINK 12 CONNECTED AGHFP 2074CFB4E54B IDLE
    OK

    When I manually connect the Android phone this is what happends straight after :

    IOT747 Copyright 2022
    AudioAgent IDC777 V3.1.70
    Build: 0400427b
    Bluetooth address 245DFC020046
    Ready
    aptX Lossless: ON
    PAIR_PENDING
    OPEN_OK 12 AGHFP 2074CFB4E54B
    ABS_VOL 12 13
    status
    STATE CONNECTABLE[ON] DISCOVERABLE[IDLE] ADVERTISING[OFF] SCAN_UNI[OFF]
    LINK 12 CONNECTED AGHFP 2074CFB4E54B IDLE
    OK

    And another attempted manual connection from the phone.
    IOT747 Copyright 2022
    AudioAgent IDC777 V3.1.70
    Build: 0400427b
    Bluetooth address 245DFC020046
    Ready
    aptX Lossless: ON
    PAIR_PENDING
    OPEN_OK 12 AGHFP 2074CFB4E54B    <—– Shokz C102 connects silently after a little delay …
    ABS_VOL 12 13

    It appears the IDC777 reboots, disconnects everything, then the C102 reconnects silently since BT_CONFIG=1 1 0.
    The reboot was not initiated by my app, it happend when the manual connection to the phone was done on the phone.
    This suggests to me some possible exception error on the IDC777 with this attempted manual connection from a phone, whilst a current connection was already in place with the Shokz C102 headset : OPEN_OK 12 AGHFP 2074CFB4E54B.

    I would like to know if this is not something you recommend, or is/was not/never implemented yet etc. ?!?
    perhaps this feature will be implemented at a later date ?

    Regards, Michael