Skip to content

Conversation

SenRamakri
Copy link
Contributor

Merging changes from ATParser to ATCmdParser towards parser unification:

ARM Internal REF: IOTMORF-1232

theotherjimmy and others added 27 commits August 23, 2017 08:31
Instead of using #if NDEBUG, we can directly invoke debug() function. Fixes ARMmbed#5013
Release the deep sleep lock when running instances of the Timer class
are deleted. This ensures that deep sleep locks are properly released
by the Timer class.
As PWMOut in most cases depend on high speed freq clock, it should lock deepsleep while active.
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
Correct the vector table size on the LPC54114. This fixes crashes
seen on boot when building with GCC.
Also fix wrong usage of designed initializer in CPP files.
This changes introduce a platform adaptation over ATT/GATT that can be implemented by porter.
Unlike the GattClient interface, the ATT/GATT adaptation is simple, follow closely the Bluetooth specification and won't change over time.
Implementation of the GattClient interface is realized by the class GenericGattClient which accept in input a pal::GattClient.

This change will also free design space once adopted by partners, addition to the GattClient interface won't require partner support.
It allows mbed users to enable BLE on targets with an external BLE module.
*/
void abort();

/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formating


// Check for oob data
struct oob *oob = _oobs;
while ( oob ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not seeing a formatting issue on this specific line, may be I'm missing the point, can you please give me details?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be while (oob) {, no spaces around conditional arguments

_aborted = true;
}

bool ATCmdParser::process_oob()
Copy link
Contributor

@hasnainvirk hasnainvirk Sep 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have any test code for this ? I wish to see how are you using it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kjbracey-arm could you please review it ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a merge from ATParser which is already tested with ATParser, please see ARMmbed/ATParser#14

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code that you introduced is already a part of ATCmdParser in vrecv function.
https://github.com/ARMmbed/mbed-os/blob/master/platform/ATCmdParser.cpp#L274
Why would you do that again in a separate method ?

@SenRamakri
Copy link
Contributor Author

Need to close this PR and start a new one as I pushed a wrong branch by mistake. Let me push a new PR.

@geky
Copy link
Contributor

geky commented Sep 27, 2017

You can force push to replace the branch and keep the pr conversation

@geky
Copy link
Contributor

geky commented Sep 27, 2017

I'm not entirely sure, but I think you want to rebase and force push:

# Where upstream = git@github.com:armmbed/mbed-os
git rebase --onto my-upstream/master ecebb72~ ecebb72
# Make new branch label if rebase worked
git branch -D sen_ATCmdParserChanges
git checkout -b sen_ATCmdParserChanges
# Where origin = git@github.com:SenRamakri/mbed-os
git push origin sen_ATCmdParserChanges --force

@SenRamakri
Copy link
Contributor Author

Ah Sorry, Chris. too late now :-) I already push another PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.