- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need some example for string parsing. Just some basics to move on. I get commands from a terminal on UART module so I want to parse this commands and its arguments.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What have you tried?
I'd store all incoming characters into a DPRAM and then process them once you've received a carriage return - assuming that marks the end of your command. Cheers, Alex- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- What have you tried? I'd store all incoming characters into a DPRAM and then process them once you've received a carriage return - assuming that marks the end of your command. Cheers, Alex --- Quote End --- So I have to store all commands and compare with an incoming buffer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes.
Cheers, Alex
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page