Search found 1550 matches

by monte
Tue Jul 25, 2017 3:19 am
Forum: MergEXT
Topic: Help with mergBLE
Replies: 4
Views: 755

Re: Help with mergBLE

OK so once you get your device UUID you need to: on mergBLEDidDiscoverPeripheral pPeripheral, pName, pRSSI mergBLEConnectPeripheral pPeripheral end mergBLEDidDiscoverPeripheral on mergBLEDidConnectPeripheral pPeripheral mergBLEPeripheralDiscoverServices pPeripheral end mergBLEDidConnectPeripheral on...
by monte
Thu Jul 20, 2017 11:28 pm
Forum: MergEXT
Topic: Help with mergBLE
Replies: 4
Views: 755

Re: Help with mergBLE

Hi @ctflatt

You really need the documentation of the hardware you are connecting to to get much further.

Cheers

Monte
by monte
Thu Jul 13, 2017 12:29 am
Forum: LiveCode for FM
Topic: Outbound Parameters?
Replies: 2
Views: 393

Re: Outbound Parameters?

I have opened a report on improving the discussion of this in the handbook http://quality.livecode.com/show_bug.cgi?id=20075
by monte
Thu Jul 13, 2017 12:28 am
Forum: LiveCode for FM
Topic: Outbound Parameters?
Replies: 2
Views: 393

Re: Outbound Parameters?

Hi @dan.toadllc You can use the `return` statement in either a function or custom component. It's probably simpler to leave the XML in LiveCode and access it from FileMaker although you could return it all as text if you want. So your custom component might be something like this: on FileMakerAction...
by monte
Mon Jun 26, 2017 8:55 am
Forum: MergEXT
Topic: MergBLE on OS X Sierra 10.12.5
Replies: 7
Views: 580

Re: MergBLE on OS X Sierra 10.12.5

Hi @n.allan

Do you get different results with the demo stack? You might try using the demo stack on multiple devices/machines.

Cheers

Monte
by monte
Thu Jun 22, 2017 12:53 am
Forum: MergEXT
Topic: MergBLE on OS X Sierra 10.12.5
Replies: 7
Views: 580

Re: MergBLE on OS X Sierra 10.12.5

Hmm.... and you are getting an error thrown on

Code: Select all

mergBLEInitialize
?
by monte
Wed Jun 21, 2017 10:14 am
Forum: MergEXT
Topic: MergBLE on OS X Sierra 10.12.5
Replies: 7
Views: 580

Re: MergBLE on OS X Sierra 10.12.5

Thanks can you post your code please?
by monte
Wed Jun 21, 2017 12:13 am
Forum: MergEXT
Topic: MergBLE on OS X Sierra 10.12.5
Replies: 7
Views: 580

Re: MergBLE on OS X Sierra 10.12.5

Hi @n.allan

Could you provide the following:
- which version of LiveCode are you using?
- which version of mergBLE are you using?

In any of the newer versions of LiveCode you should not need to do any installation of mergBLE.

Cheers

Monte
by monte
Wed Feb 15, 2017 2:05 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: OAuth2 token Help needed
Replies: 25
Views: 3051

Re: OAuth2 token Help needed

Regarding the cancelled page you could ask them why that is not going to the redirect URI if the same code is logging in and sending credentials to the redirect URI. That's different to the other services. The example was just for slack yes. Once you have the auth token you would need to set the Aut...
by monte
Mon Jan 30, 2017 11:41 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: OAuth2 token Help needed
Replies: 25
Views: 3051

Re: OAuth2 token Help needed

If things are working right the Cancel button should close the window. The redirect should handle cancel too.

State will already have a random UUID
by monte
Mon Jan 30, 2017 12:34 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: OAuth2 token Help needed
Replies: 25
Views: 3051

Re: OAuth2 token Help needed

Hmm... have you setup the redirect URI for this new app? Instead of redirecting it appears to load an error page.
by monte
Mon Jan 30, 2017 12:28 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: OAuth2 token Help needed
Replies: 25
Views: 3051

Re: OAuth2 token Help needed

Hi There was an issue in your code. You can't set the value of a script local like that. Try this (I get a login page with this!): constant kAuthURL = "https://authorization.sandboxcerner.com/tenants/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/protocols/oauth2/profiles/smart-v1/personas/provider/authorize"...
by monte
Thu Jan 26, 2017 2:58 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: OAuth2 token Help needed
Replies: 25
Views: 3051

Re: OAuth2 token Help needed

The problem is the authentication is being rejected before it even has a chance to present the login page. That's why you get the dialog flashing up. So we need to work out what's wrong with the parameters.

My reading of it is it must be `launch/profile` rather than just `launch` in the scope.
by monte
Thu Jan 26, 2017 12:52 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: OAuth2 token Help needed
Replies: 25
Views: 3051

Re: OAuth2 token Help needed

Aha! So it looks like there's an extra step involved here http://docs.smarthealthit.org/authorization/ See the section labeled SMART “launch sequence” I presume you need the Standalone launch sequence So you must request the metadata in order to get the OAuth endpoints (perhaps there's a reason not ...
by monte
Tue Jan 24, 2017 4:17 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: OAuth2 token Help needed
Replies: 25
Views: 3051

Re: OAuth2 token Help needed

Hi @newpie

It should be something like:

Code: Select all

local tParamA
put "whatever the aud url is" into tParamA["aud"]
OAuth2 kAuthURL, kTokenURL, kClientID, kClientSecret, kScopes, kPort, tParamA

Go to advanced search