Viewing 3 reply threads
  • Author
    Posts
    • #1943

      abdo
      Participant

        Hello everyone,

        I am working with two IDC777,
        I established unicast voice LE connection since I need a bidirectional audio stream(is this my only option?),
        But I noticed that the sampling rate is 32K, but I couldn’t change it even after using UCAST_CONFIG,

        Is there anyway to increase the sampling rate to 48K on a bidirectional audio stream between 2 IDC’s?

        Thank you,
        Abdo

      • #1944

        IOT747 Team
        Keymaster

          Hello Abdo,

          For bidirection links, you for now have 2 options:

          1) Classic Bluetooth: AGHFP and HFP: This will give you a 16kHz mSBC encoded stream. Latency is about 50ms.

          2) LE Audio: In this one, you can choose the sampling rate. However, this was only tested up to 32Khz. I don’t think 48k is supported by the standard,

          Can you file a ticket at https://www.iot747.com/support/open.php about this? This will allow it to be added to feature requests.

          Also, there is one option, the gaming mode. In this option, you get a 48k (out) and a 16k (in) connection. Search gaming in the UART command manual.

          IOT747 Support

          • #1946

            abdo
            Participant

              Hello again,

              Thank you for your reply,

              I am trying the gaming mode but wasn’t able to make it work,
              On the initiator:
              config
              AUDIO=0 0
              AUDIO_ANALOG=9 15 1 OFF
              AUDIO_DIGITAL=0 44100 64 00100100 00000000
              AUTOCONN=0 3
              AUTO_DATA=OFF OFF
              BATT_CONFIG=OFF OFF OFF 3000 4200 10 1470 45 200
              BCAST_CONFIG=223344 48 2 2 40000 OFF 2
              BT_CONFIG=1 1 1
              BLE_CONFIG=250 ON OFF 2 0 1A 0 245DFC020000
              BLE_CUSTOM_DB=OFF
              CMD_TO=20
              COD=240404
              CODEC=OFF OFF OFF OFF OFF OFF OFF ON ON
              DEEP_SLEEP=OFF ON
              GPIO_CONFIG=ON 00
              HFP_CONFIG=ON OFF 5 ON OFF ON OFF
              LINK_CONFIG=OFF OFF
              LOCAL_ADDR=245DFC021557
              MIX_AUDIO=OFF OFF
              MUSIC_META_DATA=OFF
              NAME=AA-021557
              NAME_BCAST=AA-021557
              NAME_SHORT=AA-021557
              POWERMAX=11
              PROFILES=ON 1 0 1 1 1 1 1
              SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
              SSP_CAPS=3
              UART_CONFIG=9600 ON 0
              UCAST_CONFIG=0 48 2
              UI_CONFIG=OFF OFF ON ON ON ON 0 ON
              VOLUME_CONTROL=ON 127 ON

              and on the receiver:
              config
              AUDIO=0 0
              AUDIO_ANALOG=9 15 1 OFF
              AUDIO_DIGITAL=0 44100 64 00100100 00000000
              AUTOCONN=0 3
              AUTO_DATA=OFF OFF
              BATT_CONFIG=OFF OFF OFF 3000 4200 10 1470 45 200
              BCAST_CONFIG=223344 48 2 2 40000 OFF 2
              BT_CONFIG=1 1 1
              BLE_CONFIG=250 ON OFF 2 0 1A 0 245DFC020000
              BLE_CUSTOM_DB=OFF
              CMD_TO=20
              COD=240404
              CODEC=OFF OFF OFF OFF OFF OFF OFF ON ON
              DEEP_SLEEP=OFF ON
              GPIO_CONFIG=ON 00
              HFP_CONFIG=ON OFF 5 ON OFF ON OFF
              LINK_CONFIG=OFF OFF
              LOCAL_ADDR=245DFC02155E
              MIX_AUDIO=OFF OFF
              MUSIC_META_DATA=OFF
              NAME=AA-02155E
              NAME_BCAST=AA-02155E
              NAME_SHORT=AA-02155E
              POWERMAX=11
              PROFILES=ON 1 0 1 0 1 1 1
              SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
              SSP_CAPS=3
              UART_CONFIG=9600 ON 0
              UCAST_CONFIG=0 48 2
              UI_CONFIG=OFF OFF ON ON ON ON 0 ON
              VOLUME_CONTROL=ON 127 ON

              and then I pair them using PAIR_LE <addr> 0
              and then I am not sure what connection to open?
              utxv or utxm, I tried both but doesn’t seem to be working as expected, the behavior is still the same.

              Thank you
              Abdo

          • #1949

            IOT747 Team
            Keymaster

              You need to set aptx-lowlatency. Do you have a license? You should see (aptX Lossless: ON when you boot).

              See below the example.

              Board1:

              restore
              IOT747 Copyright 2022
              AudioAgent IDC777 V3.1.83
              Build: 0400427b
              Bluetooth address 245DFC02157A
              Ready
              aptX Lossless: ON
              PAIR_PENDING
              set CODEC=OFF OFF OFF OFF OFF OFF OFF ON ON
              OK
              set UCAST_CONFIG_TXM=2 48 2
              OK
              set profiles=on 0 1 0 1 1 1 1
              OK
              write
              (then reset)

              pair 245DFC020000
              PENDING
              PAIR_OK 245DFC020000
              PAIR_OK_LE 245DFC020000
              open 245DFC020000 utxm
              PENDING
              OPEN_OK 14 BLE 245DFC020000
              OPEN_OK 18 UTXM 245DFC020000
              LC3_MEDIA_START 18 SOURCE 8 CONTEXT 0
              ABS_VOL 18 197
              status
              STATE CONNECTABLE[ON] DISCOVERABLE[IDLE] ADVERTISING[ON] SCAN_UNI[OFF]
              LINK 14 CONNECTED BLE 245DFC020000 MTU 250
              LINK 18 CONNECTED UTXM 245DFC020000 STREAMING APTX GAME_WITH_VBC SNK_RATE 48000 SNK_SDU_INT 5000 SNK_SDU_SIZE 205 SNK_RTN 3 SNK_P_DELAY 6400 SNK_MAX_LAT 5 SRC_RATE 16000 SRC_SDU_INT 5000 SRC_SDU_SIZE 40 SRC_RTN 7 SRC_P_DELAY 33000 SRC_MAX_LAT 9
              OK

              open 245DFC020010 utxm
              PENDING
              OPEN_OK 24 BLE 245DFC020010
              OPEN_OK 28 UTXM 245DFC020010
              LC3_MEDIA_START 28 SOURCE 9 CONTEXT 0

              status
              STATE CONNECTABLE[ON] DISCOVERABLE[IDLE] ADVERTISING[ON] SCAN_UNI[OFF]
              LINK 14 CONNECTED BLE 245DFC020000 MTU 250
              LINK 18 CONNECTED UTXM 245DFC020000 STREAMING APTX GAME_WITH_VBC SNK_RATE 48000 SNK_SDU_INT 5000 SNK_SDU_SIZE 205 SNK_RTN 3 SNK_P_DELAY 6400 SNK_MAX_LAT 5 SRC_RATE 16000 SRC_SDU_INT 5000 SRC_SDU_SIZE 40 SRC_RTN 7 SRC_P_DELAY 33000 SRC_MAX_LAT 9
              LINK 24 CONNECTED BLE 245DFC020010 MTU 250
              LINK 28 CONNECTED UTXM 245DFC020010 STREAMING APTX GAME_WITH_VBC SNK_RATE 48000 SNK_SDU_INT 5000 SNK_SDU_SIZE 205 SNK_RTN 3 SNK_P_DELAY 6400 SNK_MAX_LAT 5 SRC_RATE 16000 SRC_SDU_INT 5000 SRC_SDU_SIZE 40 SRC_RTN 7 SRC_P_DELAY 33000 SRC_MAX_LAT 9
              OK

              Board2:

              restore
              IOT747 Copyright 2022
              AudioAgent IDC777 V3.1.70
              Build: 0400427b
              Bluetooth address 245DFC020000
              Ready
              aptX Lossless: ON
              PAIR_PENDING
              set CODEC=OFF OFF OFF OFF OFF OFF OFF ON ON
              OK
              write
              OK
              reset
              IOT747 Copyright 2022
              AudioAgent IDC777 V3.1.70
              Build: 0400427b
              Bluetooth address 245DFC020000
              Ready
              aptX Lossless: ON
              PAIR_PENDING
              PAIR_OK 245DFC02157A
              PAIR_OK_LE 245DFC02157A
              OPEN_OK 14 BLE 245DFC02157A
              OPEN_OK 16 URXM 245DFC02157A
              LC3_MEDIA_START 16 SOURCE 5 CONTEXT 8
              ABS_VOL 16 197
              status
              STATE CONNECTABLE[ON] DISCOVERABLE[OFF] ADVERTISING[ON] SCAN_UNI[OFF]
              LINK 14 CONNECTED BLE 245DFC02157A MTU 250
              LINK 16 CONNECTED URXM 245DFC02157A STREAMING APTX GAME_WITH_VBC SNK_RATE 48000 SNK_SDU_INT 5000 SNK_SDU_SIZE 205 SNK_P_DELAY 6400 SNK_TRANS_LAT 3162 SRC_RATE 16000 SRC_SDU_INT 5000 SRC_SDU_SIZE 40 SRC_P_DELAY 33000 SRC_TRANS_LAT 8162
              OK

              • #1951

                abdo
                Participant

                  Hi,

                  Thank you for your reply,

                  I tried the example and all is good,
                  Also I was on an older firmware version which was causing me problems,

                  Thanks,
                  Abdo

              • #1956

                IOT747 Team
                Keymaster

                  Tahnsk

              Viewing 3 reply threads

              You must be logged in to reply to this topic.