#jackyum-terminal-ios

1 messages · Page 1 of 1 (latest)

stark pebbleBOT
mighty widget
#

you already have an existing thread for this right?

#

Ah maybe it's a different jack. What's your question @hearty rapids ?

hearty rapids
#

Hi I'm a different jack

#

This is first time I'm sending a thread here

mighty widget
#

All good, so what's the problem? Can you try and provide a lot more specific details all in one message?

#

jackyum-terminal-ios

hearty rapids
#

Yes! So I'm trying to setup stripe terminal, with the offical ios documentation.

#

However, when I was following the guide, it says I should be able to discover the terminal via bluetooth after I turn it on, but I can't

mighty widget
#

What does that mean "I can't"? Like what code are you using, which Bluetooth reader do you have, what do you see, what do the logs say, etc.

hearty rapids
#

So I am expecting to find the device discoverable in the ios settings, bluetooth device menu, but the device is not there

#

I'm using stripe M2

mighty widget
#

yeah you are absolutely not supposed to go in the bluetooth settings of the phone

#

this is explicitly something to never do and if you do, it can break things

#

which doc are you following?

hearty rapids
#

we never connect them

#

but in the menu we have the impression that at least it should be discoverable

#

we have tried the flutter plugin:

#

But the problem is the device never discovered, even through bluetooth

mighty widget
#

sorry I'm really struggling to follow

#

Are you the developer? Are you building this app yourself? Are you just trying to discover the M2 reader in your Bluetooth settings on the phone? Something else?

hearty rapids
#

I am the PM.

#

Know part of the coding

mighty widget
#

PM usually means you're not the developer

hearty rapids
#

yes

mighty widget
#

like are you writing the coderight now, running the app yourself, etc.?

hearty rapids
#

I'm running the app

#

but not writing the code at the moment

#

for this particular integration

#

The problem is in the manual it says the M2 reader should be discovered in the device settings

mighty widget
#

in which manual?

hearty rapids
#

We have also implemented this part, but the device never showed up in the scanned list, even after restarting apps while device is reset and powered up

mighty widget
#

Yeah sorry, I need really more actionable information

#

I need to see your code, what you/your developer gets as the response when discovering the readers, if they have any errors, etc.

#

but the manual of the M2 itself should not matter

hearty rapids
#

My main question is should the stripe terminal M2 show up in the bluetooth discovered devices?

#

Or it doesn't matter

mighty widget
#

I don't know and I asked my team and we don't know either. We never look at that part since you should never use it

hearty rapids
#

How do I tell if the device is in pairing mode?

#

Because the manual doesn't match the device behavior

#

If I press reset, the beep, sound, LED doesn't go with manual specification.

#

I was doing that to find out if device is in pairing mode

#

I'll share you my code right after, and connect you with my developer when he wakes up

#

How many beeps should it be when in pairing mode?

cerulean sapphire
#

Can you share your device's serial number? And can you also be really specific about what behavior you're seeing - when you turn on your reader, what do you see (LED pattern, beeps)

hearty rapids
#

SN: STRM26146015322

#

The description below is for turning on the device:
3 beeps ascending

#

4 led light up, then left most led blink

#

Sorry there was mistype in the serial number

#

Also, I don't think we have any error message during device scanning, we just can't find it on available device list

cerulean sapphire
#

When you say there's no error message during device scanning (through the ios terminal sdk) - there's no error, but the device still doesn't show up in the discovered list, right?

hearty rapids
#

yes

#

At least no error from the terimnal. I'll later double check with my team when they wake up in case they muted the error, which I believe they didn't

cerulean sapphire
#

You also mentioned the left-most LED it blinking - is your M2 currently charging?

hearty rapids
#

Nope

#

Also, the orientation is: 4 led at the bottom

#

in case left and right got confused

cerulean sapphire
#

Is it possible that the reader is connected to some other device already? Have you tried to find the reader through another device to see if it shows up on that list?

hearty rapids
#

I don't believe so, I have pressed reset by different duration in case that happened

cerulean sapphire
#

When you say reset, you're talking about the reset button and not the power button, right?

hearty rapids
#

yes

#

the small hole using needle

cerulean sapphire
#

Interesting - so I just did a quick test on my end, with my M2 reader I don't see it in the bluetooth device setting on my iphone, but I do see it in the settings for my Android device (so I don't think the absence of it in your iphone's device settings means the m2 is broken).

hearty rapids
#

yes, that's what I believe

#

Is that due to lack of BLE openess in iphone?

#

Should I continue to trying to get it work with Bluetooth peripheral on ios device? I was working with the flutter library others' built, which is apparently not able to discover any devices on ios system.

But if I can get a guarantee that M2 will work with ipad hardware then I will finish the native implementation and continue the testing

cerulean sapphire
#

and yea, I think getting this to work with our ios terminal library is the best first step (and we do have samples as well for this)

hearty rapids
#

sounds good. I hope you guys can do flutter soon. I'll ask my developer to go back to ios building

#

thanks!

cerulean sapphire
#

👍 if you're still having issues using the ios library, have your developer come back to us with the specifics (version of the library they're using, code, etc.) and we can help