1 Reply Latest reply on Feb 21, 2020 8:41 AM by PY_21

    PSoC 4 BLE device address 804929199580

    user_4621631

      Hello!

       

      On peripheral device side I'm trying to acquire the address of the connected central device when it gets connected.

       

      Central device MAC is actually 00A050DC77C7, but when the connection is established I get an event like:

      @E,0035,C,C=04,A=804929199580,T=00,I=0006,L=0000,O=0064,B=00

       

      I tried with multiple different modules as central devices and all of them give me the address 804929199580.

       

      I'm using a simple configuration on the central side:

      .CYSPPSP,E=2,R=11223344,L=11223344,M=FFFFFFFF,G=1,S=0

      SAP,L=0

      SSP,F=0

      /SCFG

      /RBT

       

      and on the peripheral side:

      .CYSPPSP,E=2,R=11223344,L=11223344,M=FFFFFFFF,G=0,S=0

      SAP,L=0

      SSP,F=0

      /SCFG

      /RBT

       

      On the central device I tried running GBA command, but it always returns actual MAC address:

      @R,0018,GBA,0000,A=00A050DC77C7

       

       

      I noticed the occurrence of this address in some other topics (e.g https://community.cypress.com/thread/45727?start=0&tstart=0), but haven't figured out what it actually means.

       

      How should I reorganise the program to get the actual connected device's mac address?

        • 1. Re: PSoC 4 BLE device address 804929199580
          PY_21

          Hello,

           

          At the central side, please make sure that before initiating a connection with the peripheral device, the module must be in a disconnected state (not advertising, scanning, connecting, or connected). Before doing the connection please set the /DIS, /SX, /AX commands as shown in below.

          *********************************************

          /dis

          @R,000A,/DIS,0502

          /ax

          @R,0009,/AX,0000

          @E,000E,ASC,S=00,R=00

          /sx

          @R,0009,/SX,0107

          /c, A=00a050708225

          @R,000D,/C,0000,C=00

          @E,0035,C,C=04,A=00A050708225,T=00,I=0006,L=0000,O=0064,B=00

          *********************************************

           

          Thanks,

          P Yugandhar.