#28 Merged at a686614
Repository
RichardEyre
Branch
unsupported-command-fix
Repository
nexj
Branch
dev
Author
  1. RichardEyre
Reviewers
Description

I've removed enable and disabled commands from the Medical Device Plugin class so that any calls to it for those commands return Invalid Action. There are no Plugin Results of "Unsupported" that I can see that we could utilize.

Addresses Issues #24, #25

Comments (10)

  1. RichardEyre author

    Yeah, I agree. We should get rid of most of the commands that we can't implement with CoreBluetooth for now. In the future if we need it we can figure it out. Is isDisabled() similar to this too?

  2. RichardEyre author

    No problem. So is this how we want to go about implementing it? I just removed the actions because it simplifies the if statement logic a bit. If we want to keep them explicitly there and return invalid action from each statement than we can do that too.