Skip to content

Detect witch instance of NeoSWSerial is calling/handling handleRxChar() #29

Open

Description

@nadjibnet

Hi,

Using Arduino Uno, I have to GSM module as folow:

NeoSWSerial gsm1(10,11)
NeoSWSerial gsm2(5,6)

on my Setup I have registered for the "attachInterrupt"

In my loop()
I read from Serial the AT Command,
If I have 1:AT => I send AT to gsm1
If I have 2:AT => I send AT to gsm2

the handleRxChar was called and I receive the result of both gsm1, gsm2.

I need make difference between the result of gsm1 and gsm2.

Are there an overload of the handleRxChar (Int RX_PIN, uint8_t c) ?

Thanks

Activity

  1. nadjibnet commented on Oct 21, 2018

    @nadjibnet
    Author

    commit proposed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions